<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html:form action="/View/editCustomer.do">
	<body>
	<h1 align="right"><bean:write property="cust.lastName" name="editCustomerForm" />
	<bean:write property="cust.firstName" name="editCustomerForm" /></h1>
	
	<jsp:include page="topmenu.jsp"></jsp:include>
	<center>
	 
	<table>


		<tr>



			
			<h4 style="color: red"><html:errors /><bean:write
		name="editCustomerForm" property="error" /></h4>
	
			<br>

			<table border="1" cellspacing="1" bordercolor="blue" width="200px">
				<tr>

					<td style="color: black">Last Name:</td>
					<td><html:text property="cust.lastName" name="editCustomerForm" /></td>
				</tr>
				<tr>
					<td style="color: black">First Name:</td>
					<td><html:text property="cust.firstName" name="editCustomerForm" /></td></tr>
					<tr>
					<td style="color: black">Password:</td>
					<td><html:text property="cust.password" name="editCustomerForm" /></td></tr>
				<tr>

					<td style="color: black">Address:</td>
					<td><html:text property="cust.address" name="editCustomerForm" /></td>
				</tr>
				<tr>
					<td style="color: black">City:</td>
					<td><html:text property="cust.city" name="editCustomerForm" /></td>
				</tr>
				<tr>
					<td style="color: black">State:</td>
					<td><html:select property="cust.state" name="editCustomerForm">
						<html:optionsCollection name="editCustomerForm"
							property="stateList" label="label" value="value" />
					</html:select></td>
				</tr>
				<tr>
					<td style="color: black">Zip Code:</td>
					<td><html:text property="cust.zipCode" name="editCustomerForm" /></td>
				</tr>
				<tr>
					<td style="color: black">Date of Birth:</td>
					<td><html:text property="cust.dateOfBirth" name="editCustomerForm" /></td>
				</tr>
				<tr>
					<td style="color: black">Passport Number:</td>
					<td><html:text property="cust.passportNumber" name="editCustomerForm" /></td>
				<tr>
					<td style="color: black">Nationality:</td>
					<td><html:text property="cust.nationality" name="editCustomerForm" /></td>

				</tr>

			</table>
			<br>
			<br>
			<html:submit>Update</html:submit></center>
			</td>
		</tr>
	</table>
	</body>
</html:form>